package org.wzq.bean;

import java.util.Set;

/**
 * Created by wzq on 14-11-17.
 */
public class Course {
    private int id;
    private String name;
    private Set<Student> studentSet;

    public Course() {
    }

    public Course(String name) {
        this.name = name;
    }

//    public Course(int id, String name, Set<Student> studentSet) {
//        this.id = id;
//        this.name = name;
//        this.studentSet = studentSet;
//    }

    public Set<Student> getStudentSet() {
        return studentSet;
    }

    public void setStudentSet(Set<Student> studentSet) {
        this.studentSet = studentSet;
    }


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
